﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/User.Master" AutoEventWireup="true"
    CodeBehind="CPBZX_Query.aspx.cs" Inherits="CoolERP_Web.User.CPBZX_Query" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td class="tbHead_L"></td>
        <td class="tbHead_M"><div><b>产品包装箱</b></div></td>
        <td class="tbHead_R"></td>
    </tr>
    <tr>
        <td class="tbBody_L"></td>
        <td class="tbBody_M">
            <ul class=tags>
                <li class=liLeft><asp:ImageButton ID="btnAdd" runat="server" ImageUrl="~/Images/Common/btn_add0.png" />&nbsp;&nbsp;
                <asp:ImageButton ID="btnDel" runat="server" ImageUrl="~/Images/Common/btn_del0.png" OnClick="btnDel_Click" OnClientClick="return isCheck('GridView1');" /></li>
            </ul>
            <asp:GridView ID="GridView1" CssClass="grvCSS" runat="server" ClientIDMode=Static AllowPaging="True" AutoGenerateColumns="False" PageSize="100" DataKeyNames="ID" Width="100%">
                <Columns>
                    <asp:TemplateField ShowHeader="False">
                        <HeaderTemplate><label><input type="checkbox" onclick="checkAll('GridView1',this)" />全选</label></HeaderTemplate>
                        <ItemTemplate><input type=checkbox id="chkSel" name="chkSel" runat=server value='<%# Eval("ID") %>' /></ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="ID" Visible="False" />
                    <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="CPBZX_Edit.aspx?id={0}" DataTextField="BH" HeaderText="包装箱编号" />
                    <asp:BoundField DataField="MC" HeaderText="包装箱名称" />
                    <asp:TemplateField HeaderText="包装类型">
                        <ItemTemplate><%# Convert.ToInt32(Eval("BZXLX")) == 0 ? "普通包装" : "标准包装"%></ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="BZFS" HeaderText="包装方式" />
                    <asp:BoundField DataField="SL" HeaderText="数量" />
                    <asp:TemplateField HeaderText="外（长*宽*高）">
                        <ItemTemplate><%# Eval("WChang")%>*<%# Eval("WKuan")%>*<%# Eval("WGao")%></ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="内（长*宽*高）">
                        <ItemTemplate><%# Eval("NChang")%>*<%# Eval("NKuan")%>*<%# Eval("NGao")%></ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="TJ" HeaderText="体积" />
                    <asp:BoundField DataField="ZL" HeaderText="重量" />
                    <asp:BoundField DataField="BZ" HeaderText="备注" />
                </Columns>
                <PagerSettings Visible=false />
            </asp:GridView>
        </td>
        <td class="tbBody_R"></td>
    </tr>
    <tr>
        <td class="tbFoot_L"></td>
        <td class="tbFoot_M"></td>
        <td class="tbFoot_R"></td>
    </tr>
</table>
</asp:Content>
